﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp6
{
    public interface IMessage
    {
        public string Topic { get; set; }
        public byte[] Body { get; set; }
        public void WriteTo(BinaryWriter writer);
    }
}
